package com.khshop.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 访问日志
 * </p>
 *
 * @author zhaoyang
 * @since 2020-10-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("w_loginfo")
@ApiModel(value="Loginfo对象", description="访问日志")
public class Loginfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    private String uname;

    @ApiModelProperty(value = "访问时间")
    private Date visittime;

    @ApiModelProperty(value = "访问地址")
    private String visiturl;

    private Integer stoptime;

    @ApiModelProperty(value = "离开时间")
    private Date leavetime;

    @ApiModelProperty(value = "ip")
    private String ip;

    @ApiModelProperty(value = "客户端类型")
    private String useragent;


}
